package com.fatalsoftware.java.browserbee;

public class Main {

	public static void main( String[] args ) {
		
		String sourceFile = "src/res/gg.url";
		String destinationFile = "gg.url";
		
		OSValidator osValidator = new OSValidator();
		osValidator.setOs();
		if ( osValidator.getOsSupported() )
		{
			FileUtil fileUtility = new FileUtil();
			fileUtility.setSourceFile( sourceFile );
			fileUtility.setDestinationFile( destinationFile );
			
			// IE only for now
			fileUtility.setDefaultIEDestination();
			
			fileUtility.copyFile();
			System.out.println("Successfully copied file");
		}
		else
		{
			System.out.println("OS Unsupported");
		}
	}
}
